|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
july 2009 doc id 15084 rev 1 1/57 AN2836 application note l6225, l6226, l6227 dual full-bridge drivers 1 introduction modern motion control applicat ions need more flexibility that can be addressed only with specialized ic products. the l6225, l6226, l6227 are dual full-bridge driver ics specifically developed to drive a wide range of motors. these ics are one-chip, cost-effective solutions that include several unique circuit design features. these features allow the devices to be used in many applications including dc and stepper motor driving. the principal aim of this development project was to produce easy-to-use, fully-protected power ics. in addition several key functions such as protection circ uit and pwm current control drastically reduce the number of external components to meet requirements for many different applications. the l6225, l6226, l6227 are highly integrated, mixed-signal power ics that allow the user to easily design a control system for two-phase bipolar stepper motors, multiple dc motors and a wide range of inductive loads. figure 1 to figure 3 show the block diagrams of the l6225, l6226, l6227 . each ic integrates eight power dmos plus other added features for safe operation and flexibility. the l6227 also featur es a constant toff pwm current control technique (synchronous mode) for each of the two full bridges www.st.com
contents AN2836 2/57 doc id 15084 rev 1 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 main differences betw een l6225, l6226, l6227 . . . . . . . . . . . . . . . . . . . 8 4 designing an application wi th l6225, l6226, l6227 . . . . . . . . . . . . . . 10 4.1 current ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4.2 voltage ratings and operating range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4.3 choosing the bulk capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.4 layout considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.5 sensing resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.6 charge pump external components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.7 sharing the charge pump circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.8 reference voltage for pwm current control (l6227 only) . . . . . . . . . . . . 17 4.9 input logic pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.10 en pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.11 programmable off-time monostable (l6227 only) . . . . . . . . . . . . . . . . . . 20 4.12 off-time selection and minimum on-time (l6227 only) . . . . . . . . . . . . . . . 22 4.12.1 slow decay mode (l6227 only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.13 overcurrent protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.14 adjusting the overcurrent detection trip point (l6226 only) . . . . . . . . . . . 27 4.15 paralleling two full bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4.15.1 paralleling two full bridges to get a single full bridge . . . . . . . . . . . . . . . 29 4.15.2 paralleling the four half bridges to get a single half bridge . . . . . . . . . . 32 4.16 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.16.1 maximum output current vs. selectable devices . . . . . . . . . . . . . . . . . . 34 4.16.2 power dissipation and thermal analysis with practispin tm software . . 35 5 application example (l6227) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 appendix a demonstration boa rds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 a.1 practispin tm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 AN2836 contents doc id 15084 rev 1 3/57 a.2 eval6225pd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 a.2.1 important notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 a.3 eval6227pd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 a.3.1 important notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 a.4 eval6226qr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 a.5 eval6227qr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 list of tables AN2836 4/57 doc id 15084 rev 1 list of tables table 1. rsense recommended values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 2. application data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 3. motor data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 4. eval6225pd part list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 5. eval6227pd part list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 6. eval6226qr part list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 7. eval6226qr part list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 8. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 AN2836 list of figures doc id 15084 rev 1 5/57 list of figures figure 1. l6225 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 2. l6226 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 3. l6227 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 4. supply voltage of high-side gate drivers versus supply voltage . . . . . . . . . . . . . . . . . . . . . 10 figure 5. currents and voltages during the deadtime at a phase change . . . . . . . . . . . . . . . . . . . . . 11 figure 6. voltage at the two outputs during the deadtime at a phase change . . . . . . . . . . . . . . . . . . 11 figure 7. typical application and layout suggestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 8. two situations that must be avoided . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 9. charge pump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 10. sharing the charge pump circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 11. obtaining a variable voltage through a pwm output of a c . . . . . . . . . . . . . . . . . . . . . . . 18 figure 12. logic input pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 13. ena and enb input pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 14. pwm current control circuitry (l6227 only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0 figure 15. pwm output current regulation waveforms (l6227 only) . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 16. typical off-time vs. coff for several values of roff . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 17. minimum on-time vs. coff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 18. slow decay mode output stage configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 19. pwm controller loses the current regulation due to minimum on-time (l6227 only) . . . . . 24 figure 20. pwm controller loses the current regulation due to minimum on-time (l6227 only) - detail24 figure 21. l6225 and l6227 overcurrent detection simplified circuitry . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 22. l6226 overcurrent detection simplified circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 23. overcurrent operation: timing 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 24. overcurrent operation: timing 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 25. typical disable time vs. c en for several values of r en . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 26. typical delay time vs. c en . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 27. output current detection threshold versus r cl value (l6226 only) . . . . . . . . . . . . . . . . . . 28 figure 28. adjusting the ocd threshold through an external reference voltage (l6226 only). . . . . . . 28 figure 29. v s and sense pins maximum sourced current handling. . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 30. v s and sense pins maximum sinked current handling . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 31. l6225 parallel connection with lower overcurrent threshold . . . . . . . . . . . . . . . . . . . . . . . 30 figure 32. l6226 parallel connection with lower overcurrent threshold . . . . . . . . . . . . . . . . . . . . . . . 31 figure 33. l6227 parallel connection with lower overcurrent threshold . . . . . . . . . . . . . . . . . . . . . . . 31 figure 34. l6225 parallel connection for higher current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 35. l6226 parallel connection for higher current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 36. l6225 paralleling the four half bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 37. l6226 paralleling the four half bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 38. ic dissipated power versus output current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 39. maximum output current vs. selectable devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 40. power dissipation and thermal analysis with practispin tm software . . . . . . . . . . . . . . . . . 36 figure 41. application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 42. practispin tm pc software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 43. practispin tm st7 demonstration board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 44. eval6225pd board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 45. eval6225pd electrical schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 46. eval6225pd component placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 figure 47. eval6225pd top layer layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 figure 48. eval6225pd bottom laye r layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 list of figures AN2836 6/57 doc id 15084 rev 1 figure 49. eval6227pd board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 50. eval6227pd electrical schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 figure 51. eval6227pd component placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 52. eval6227pd top layer layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 53. eval6227pd bottom laye r layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 54. eval6226qr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 55. eval6226qr comp onent placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 56. eval6226qr top layer layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 57. eval6226qr bottom layer layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 58. eval6226qr electrical schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 59. eval6226qr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 60. eval6227qr comp onent placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 61. eval6227qr top layer layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 62. eval6227qr bottom layer layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 63. eval6227qr electrical schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 AN2836 references doc id 15084 rev 1 7/57 2 references 1. "a new fully integrated stepper motor driver ic", proceedings of pcim 2001, september 2001, intertech communication 2. "stepper motor driving" (an235) 3. "controlling voltage transients in fu ll bridge driver applications" (an280) 4. "a new high power ic surface mount package family" (an668) 5. "l6205, l6206, l6207 dual full bridge drivers" (an1762). main differences between l6225, l6226, l6227 AN2836 8/57 doc id 15084 rev 1 3 main differences between l6225, l6226, l6227 the l6225, l6226 and l6227 are dmos dual full-bridge ics. the l6225 (see figure 1 ) includes logic for cmos/ttl interface, a charge pump that provides auxiliary voltage to drive the hi gh-side dmos, non-dissipative overcurrent protection circuitry on the high-side dmos, with a fixed trip point set at 2.8 a (see section 4.13 ), overtemperature protection, undervoltage lockout for reliable startup. in addition, the l6226 (see figure 2 ) gives the possibility of adju sting the trip point of the overcurrent protection for each of the two full bridges (through two external resistors), and its internal open-drain mosfets (see section 4.13 ) are not internally connected to en pins but to separate ocd pins, allowing easier external diagnostics and overcurrent management. the l6227 (see figure 3 ) has an overcurrent protection function with a fixed trip point set at 2.8 a and internal open-drain mosfets connected to en pins, as the l6225, but it also integrates two pwm current controllers for each of the two full bridges (see section 4.11 ). figure 1. l6225 block diagram ! - v ' ! 4 % , / ' ) # / 6 % 2 # 5 2 2 % . 4 $ % 4 % # 4 ) / . / 6 % 2 # 5 2 2 % . 4 $ % 4 % # 4 ) / . ' ! 4 % , / ' ) # 6 # 0 6 " / / 4 % . ! ) . ! ) . ! % . " ) . " ) . " 6 " / / 4 6 6 6 3 ! 6 3 " / 5 4 ! / 5 4 ! / 5 4 " / 5 4 " 3 % . 3 % ! # ( ! 2 ' % 0 5 - 0 6 / , 4 ! ' % 2 % ' 5 , ! 4 / 2 4 ( % 2 - ! , 0 2 / 4 % # 4 ) / . 6 " / / 4 6 " / / 4 6 6 " 2 ) $ ' % ! " 2 ) $ ' % " 3 % . 3 % " / # $ ! / # $ " AN2836 main differences between l6225, l6226, l6227 doc id 15084 rev 1 9/57 figure 2. l6226 block diagram figure 3. l6227 block diagram ! - v $ ) . ! ' ! 4 % , / ' ) # / 6 % 2 # 5 2 2 % . 4 $ % 4 % # 4 ) / . / 6 % 2 # 5 2 2 % . 4 $ % 4 % # 4 ) / . ' ! 4 % , / ' ) # 6 # 0 6 " / / 4 % . ! ) . ! ) . ! % . " ) . " ) . " 6 " / / 4 6 6 6 3 ! 6 3 " / 5 4 ! / 5 4 ! / 5 4 " / 5 4 " 3 % . 3 % ! # ( ! 2 ' % 0 5 - 0 6 / , 4 ! ' % 2 % ' 5 , ! 4 / 2 4 ( % 2 - ! , 0 2 / 4 % # 4 ) / . 6 " / / 4 6 " / / 4 6 6 " 2 ) $ ' % ! " 2 ) $ ' % " 3 % . 3 % " 0 2 / ' # , " / # $ " / # $ ! 0 2 / ' # , ! / # $ ! / # $ " ! - v $ ) . ! ' ! 4 % , / ' ) # / # $ ! / # $ " / 6 % 2 # 5 2 2 % . 4 $ % 4 % # 4 ) / . / 6 % 2 # 5 2 2 % . 4 $ % 4 % # 4 ) / . ' ! 4 % , / ' ) # 6 # 0 6 " / / 4 % . ! ) . ! ) . ! % . " ) . " ) . " 6 2 % & ! 6 " / / 4 6 6 6 3 ! 6 3 " / 5 4 ! / 5 4 ! / 5 4 " / 5 4 " 3 % . 3 % ! # ( ! 2 ' % 0 5 - 0 6 / , 4 ! ' % 2 % ' 5 , ! 4 / 2 / . % 3 ( / 4 - / . / 3 4 ! " , % - ! 3 + ) . ' 4 ) - % 4 ( % 2 - ! , 0 2 / 4 % # 4 ) / . 6 " / / 4 6 " / / 4 6 6 " 2 ) $ ' % ! 3 % . 3 % # / - 0 ! 2 ! 4 / 2 " 2 ) $ ' % " 2 # ! 3 % . 3 % " 6 2 % & " 2 # " 0 7 - designing an application with l6225, l6226, l6227 AN2836 10/57 doc id 15084 rev 1 4 designing an application with l6225, l6226, l6227 4.1 current ratings with mosfet (dmos) devices, unlike bipolar transistors, current under short-circuit conditions is, at first approximation, limited by the r ds(on) of the dmos themselves and could reach very high values. l6225, l6226, l6227 out pins and the two v sa and v sb pins are rated for a maximum of 1.4 arms and 2.8 a peak (typical values), corresponding to a total (for the whole ic) 2.8 arms (5.6 a peak). these values are meant to avoid damaging metal structures, including the metallization on the die and bond wires. in practical applications, though, maximum allowable current is less than these values, due to power dissipation limits (see section 4.16 ). the devices have a built-in overcurrent detection (ocd) that provides protection against short circuits between the outputs and between an output and ground (see section 4.13 ). 4.2 voltage ratings and operating range the l6225, l6226, l6227 require a single supply voltage (v s ), for the motor supply. internal voltage regulators provide the 5 v and 10 v required for the internal circuitry. the operating range for v s is 8 to 52 v. to prevent working from an undesirable low supply voltage an undervoltage lockout (uvlo) circuit shuts down the device when the supply voltage falls below 5.5 v. to resume normal operating conditions, v s must then exceed 6.3 v. the hysteresis is provided to avoid false intervention of the uvlo function during fast v s ringings. it should be noted, however, that r ds(on) of the dmos is a function of the v s supply voltage. actually, when v s is less than 10 v, r ds(on) is adversely affected, and this is particularly true for the high-side dmos that are driven from v boot supply. this supply is obtained through a charge pump from the internal 10 v supply, which tends to reduce its output voltage when v s goes below 10 v. figure 4 shows the supply voltage of the high-side gate drivers (v boot - v s ) versus the supply voltage (v s ). figure 4. supply voltage of high-side gate drivers versus supply voltage note that v s must be connected to both v sa and v sb since the bootstrap voltage (at v boot pin) is the same for the two h-bridges. the integrated dmos have a rated drain-source breakdown voltage of 60 v. however v s should be kept below 52 v, since in normal working conditions the dmos see a v ds voltage that exceeds v s supply. in particular, during a phase change (when each output of the same h-bridge switches from v s to gnd or vice versa, for example to reverse the current in the load) at the beginning of the deadtime (when all the dmos are off) the sense pin sees a negative spike due to a non-negligible parasitic ! - v 6 3 ; 6 = 6 " / / 4 6 3 ; 6 = AN2836 designing an application with l6225, l6226, l6227 doc id 15084 rev 1 11/57 inductance of the pcb path from the pin to gnd. this spike is followed by a stable negative voltage due to the drop on r sense . one of the two out pins of the bridge sees a similar behavior, but with a slightly larger voltage due to the forward recovery time of the integrated freewheeling diode and the forward voltage drop across it (see figure 5 ). typical duration of this spike is 30 ns. at the same time, the other out pin of the same bridge sees a voltage above v s , due to the pcb inductance and voltage drop across the high-side (integrated) freewheeling diode, as the current reverses direction and flows into the bulk capacitor. it turns out that the highest differential voltage can be observed between the two out pins of the same bridge, during the deadtime at a phase change, and this must always be kept below 60 v [ 3 ]. figure 5. currents and voltages during the deadtime at a phase change figure 6 shows the voltage waveforms at the two out pins referring to an application, with a peak output current of 1.4 a, v s = 52 v, r sense = 0.33 , t j = 25 c (approximately) and a good pcb layout. below ground spike amplitude is ?2.65 v for one output, the other out pin is at about 57 v. in these conditions, total differential voltage reaches almost 60 v, which is the absolute maximum rating for the dmos. keeping differential voltage between two output pins belonging to the same full bridge within rated values is a must that can be accomplished with proper selection of bulk capacitor value and equivalent series resistance (esr), according to current peaks and chopping style and adopting good layout practices to minimize pcb parasitic in ductances (see below) [ 3 ]. figure 6. voltage at the two outputs during the deadtime at a phase change ! - v 6 3 3 % . 3 % / 5 4 / 5 4 2 3 % . 3 % |